﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WFNetLib;
using WFNetLib.Forms;
using WFNetLib.GSMModem;

namespace 自消费
{
    public partial class TaskThread
    {
#if CommunicationDebug
        CommunicationDebugForm commDF;        
        void gsmModemLogEvent(object sender, intstrEventArgs e)
        {
            switch ((ATCommandLogType)e.nArg)
            {
                case ATCommandLogType.Rx:
                    commDF.ExternShowRx(e.strArg);
                    break;
                case ATCommandLogType.Tx:
                    commDF.ExternShowTx(e.strArg);
                    break;
            }
        }
#endif
        void AddExLog(string strLog)
        {
#if CommunicationDebug
            commDF.ExternShowRx(strLog);
#endif
        }
    }
}
